<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">

<html>
<head>
    <title>收银台</title>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!--标准mui.css-->
    <link rel="stylesheet" href="__PUBLIC__/Css/css/mui.min.css">
    <style>body{background-color: #FFF;}
    #pngpng {
        width: auto;
        height: auto;
        max-width: 30%;
        max-height: 30%;
        padding-bottom: 40px;
    }
    </style>
    <script src="/Public/js/mui.min.js"></script>
    <!--标准muiEND-->
    <link rel="stylesheet" href="__PUBLIC__/weui/style/weui.min.css"/>
</head>
<body>
<div class="weui_msg">
    <div class="weui_icon_area" ><i class="weui_icon_success weui_icon_msg"></i>

    </div>
    <if condition="$order['openid'] eq ''"><p>订单未指定司机</p>
        <else/><img id="pngpng" src ="{$paypng}"   alt="">
    </if>

    <div class="weui_text_area">
        <h2 class="weui_msg_title">支付状态</h2>
        <a style="width: 30%" href="javascript:void(0)" class="weui_btn weui_btn_primary">
            <if condition="($order['pay_statu'] eq '1') && ($order['status'] neq '7')">已支付
                <else/>
                <if condition="$order['status'] eq '6'">已支付
                    <elseif condition="$order['status'] eq '7'"/>已经撤销
                    <elseif condition="$order['status'] eq '5'"/>确认订单
                    <elseif condition="$order['status'] eq '4'"/>已到达目的地
                    <elseif condition="$order['status'] eq '3'"/>接到乘客
                    <elseif condition="$order['status'] eq '2'"/>到达指定地点
                    <elseif condition="$order['status'] eq '1'"/>发车
                    <elseif condition="$order['status'] eq '0'"/>未支付
                </if>
            </if>

        </a>

        <div class="weui_cells_title">订单信息</div>
        <div class="weui_cells">
            <div class="weui_cell">
                <div>
                    <p class="weui_msg_desc" style="text-align: left">商户名称：小易出行<br />支付金额：<font color='#76EE00'>￥{$order['price']}</font><br />下单时间：{$order['addtime']|date='Y-m-d H:i:s',###}<br />订单编号：{$order['orderid']}</p>
                </div>
            </div>
        </div>
    </div>

    <div class="weui_opr_area">
        <p class="weui_btn_area">
            <if condition="$order['status'] eq '6' and $order['isevaluate'] eq '0'">
                <a href="{:U('Evaluate/createEvaluate',array('orderid'=>$order['orderid']))}" class="weui_btn weui_btn_primary">
                    去评价
                </a>
                <elseif condition="$order['status'] eq '6' and $order['isevaluate'] eq '1'"/> <a href="#" class="weui_btn weui_btn_primary">
                已评价
            </a>
            </if>
            <if condition="$order['status'] eq '6' and $order['iscomplaint'] eq '0'">
                <a href="{:U('Complaint/createComplaint',array('orderid'=>$order['orderid']))}" class="weui_btn weui_btn_primary">
                    投诉
                </a>
                <elseif condition="$order['status'] eq '6' and $order['iscomplaint'] eq '1'"/> <a href="#" class="weui_btn weui_btn_primary">
                已投诉
            </a>
            </if>

        <p><present name="evaluate.servicescore">服务评分：{$evaluate['servicescore']}分</present></p>
        <p><present name="evaluate.driverscore">司机评分：{$evaluate['driverscore']}分</present></p>
        <p><present name="evaluate.vehiclescore">车辆评分：{$evaluate['vehiclescore']}分</present></p>
        </p>
    </div>
    <div class="weui_text_area">
        <p class="weui_msg_desc">如需退款请联系客服</p>
    </div>
    <div class="weui_extra_area">
        <a href="">查看详情</a>
    </div>
</div>
<include file="footer" />
</body>
</html>